﻿
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chemistry.Models
{
    /// <summary>
    /// 返回值类
    /// </summary>
    public class ResultData
    {
        public int status { get; set; }
        public string session { get; set; }
        public string phrase { get; set; }
    }

    /// <summary>
    /// 分数类  名-值 对
    /// </summary>
    public class Score
    {
        public string name { get; set; }
        public decimal value { get; set; }

    }

    /// <summary>
    /// 上传用的分数实体类
    /// </summary>
    public class ScoreData
    {
        public string session { get; set; }
        public string nr { get; set; }

        public IList<Score> items { get; set; }

    }

    /// <summary>
    /// Workflow远程数据结构
    /// </summary>
    public class WorkflowApiModel
    {
        public int status { get; set; }
        public List<Workflow> Workflows { get; set; }
    }

    /// <summary>
    /// 考点apiModel
    /// </summary>
    public class ExamPointApiModel
    {
        public int status { get; set; }
        public List<ExaminationPoint> points { get; set; }
    }

    public class DetaiApiModel
    {
        public int status { get; set; }
        public List<Detail> details { get; set; }
    }

    public class AbnormalApiModel
    {
        public int status { get; set; }
        public List<Abnormal> abnormals { get; set; }
    }

    public class ChemistryApiReuslt
    {
        public int status { get; set; }
    }

    /// <summary>
    /// 考生信息
    /// <remarks>新接口实体类</remarks>
    /// </summary>
    public class ExamineeRemote
    {
        public int status { get; set; }
        /// <summary>
        /// 准考项
        /// </summary>
        public string code { get; set; }
        public string idcard { get; set; }
        public int id { get; set; }
        public string name { get; set; }
        public string nr { get; set; }
        public string finger { get; set; }
        public string photo { get; set; }
        public string wtadded { get; set; }
        public string phrase { get; set; }
    }

    public class K2Step
    {
        public K2Step()
        {
            DateTime= System.DateTime.Now.ToString(CultureInfo.InvariantCulture);
        }
        public string step { get; set; }
        public string DateTime { get; set; } 
    }
}
